<div class="row">
    <div class="col-lg-12">
        <div class="ibox ">
            <div class="ibox-title">
                <h5>员工信息</h5>
                <div class="ibox-tools" style="top:10px;">
                    <button type="button" class="btn btn-primary btn-sm"
                            style="margin-right:10px;" v-on:click="_openSelectStaffInfoModel()">
                        <i class="fa fa-search"></i> 选择
                    </button>
                </div>
            </div>
            <div class="ibox-content">
                <div class="row">
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">员工ID：</label>
                            <label class="">{{viewStaffInfo.userId}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">员工名称：</label>
                            <label class="">{{viewStaffInfo.name}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">员工邮箱：</label>
                            <label class="">{{viewStaffInfo.email}}</label>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">手机号：</label>
                            <label class="">{{viewStaffInfo.tel}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">员工性别：</label>
                            <label class="">{{viewStaffInfo.sex=='0' ? '男' : '女'}}</label>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>

    <vc:create path="frame/searchStaff"
               callBackListener="viewStaffInfo"
               callBackFunction="chooseStaff"
    ></vc:create>
</div>
